﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DVSProject.Models;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;

namespace DVSProject.Models
{
    public class SetupMachineModels
    {
        public string LocationSetCode { get; set; }
        [DisplayFormat(DataFormatString = "{0:d}")]
        public DateTime SetupDate { get; set; }
        public int ModelId { get; set; }
        public string Temp { get; set; }
        public string SerialNo { get; set; }
        public int StartMeter { get; set; }
        public int EndMeter { get; set; }
        public int TotalMeter { get; set; }
        public decimal RentBasic { get; set; }
        public string Remark { get; set; }
        public string Status { get; set; }
        public string CreateBy { get; set; }
        public DateTime CreateOn { get; set; }
        public string UpdateBy { get; set; }
        public DateTime UpdateOn { get; set; }

        public IEnumerable<LocationSetModels> locationSets { get; set; }
        public IEnumerable<SelectListItem> locationSetSelect { get; set; }
    }
}